﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Reservation" in code, svc and config file together.
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
public class Reservation : IReservation
{
	
    public int AddBooking(DateTime bookingDate, string seatnumbers, int showTimeID, int userID)
    {
        return new MBSBLC.BLC().AddBooking(bookingDate,seatnumbers,showTimeID,userID);
    }

    public Dictionary<int, string> GetBookings(int userID)
    {
        return new MBSBLC.BLC().GetBookings(userID);
    }
    

    public int getBookingID(int showtimeid, int userid)
    {
        return new MBSBLC.BLC().getBookingID(showtimeid, userid);
    }
}
